<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="css/style_question.css" type="text/css" rel="stylesheet" />	
<title>Untitled Document</title>
</head>
<body>
<table border="0" width="635" id="table16" cellpadding="0">
  <tr>
    <td width="14%" bgcolor="#F7E6B7"></td>
    <td width="28%" align="center" height="16" bgcolor="#F7E6B7"><font style="font-size: 8.5pt" face="Verdana" color="#000000"> Status</font></td>
    <td width="18%" align="center" height="16" bgcolor="#F7E6B7"><font style="font-size: 8.5pt" face="Verdana" color="#000000"> Discharge (lpm)</font></td>
    <td width="17%" align="center" height="16" bgcolor="#F7E6B7"><font style="font-size: 8.5pt" face="Verdana" color="#000000"> Head (m)</font></td>
    <td width="23%" align="center" height="16" bgcolor="#F7E6B7"><font style="font-size: 8.5pt" face="Verdana" color="#000000"> Power Rating (in HP)</font></td>
  </tr>
  <?php
			$sub_total=$_POST['sub_total'];
			for($i=1; $i<=$sub_total; $i++)
			{
		?>
  <tr align="center">
    <td><input type="text" name="sub_id<?php echo $i;?>" id="sub_id<?php echo $i;?>" size="18" class="txt5" value="Sub<?php echo $i;?>" readonly /></td>
    <td width="28%"><font color="#000000" size="2">
      <input type="radio" name="sub_status<?php echo $i;?>"id="sub_status<?php echo $i;?>" value="operational" checked="checked" onclick="setEnable2(this.value,<?php echo $i;?>)" />
      Operatioanl
      <input type="radio" name="sub_status<?php echo $i;?>"id="sub_status<?php echo $i;?>" value="standby" onclick="setReadOnly2(this.value,<?php echo $i;?>)" />
      Standby </font> </td>
    <td width="18%"><input type="text" name="sub_discharge<?php echo $i;?>" id="sub_discharge<?php echo $i;?>" size="18" class="txt5" onblur="float(this)"/></td>
    <td width="17%"><input type="text" name="sub_head<?php echo $i;?>" id="sub_head<?php echo $i;?>" size="18" class="txt5" onblur="float(this)" /></td>
    <td width="23%"><input type="text" name="sub_power<?php echo $i;?>" id="sub_power<?php echo $i;?>" size="18" class="txt5" onblur="float(this)" /></td>
  </tr>
  <?php } ?>
  <tr>
    <td height="2" colspan="5" align="center" bgcolor="#F7E6B7"><font style="font-size: 8.5pt; font-style: normal" face="Verdana" color="#990000"></font></td>
  </tr>
  <input type="hidden" name="submcount" id="submcount" value="<?php echo $sub_total;?>" />
</table>

</body>
</html>